package com.chenfan.finance.dao;


import com.chenfan.finance.model.TocTradeOrderHeader;
import org.apache.ibatis.annotations.Mapper;
import com.chenfan.finance.model.vo.TimeRange;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
@Mapper
public interface TocTradeOrderHeaderMapper {

    int insertList(@Param("list") List<TocTradeOrderHeader> list , @Param("taskYearMonth") LocalDateTime taskYearMonth);

    List<TocTradeOrderHeader> getListByTid(@Param("tid")String tid, @Param("timeRange")TimeRange timeRange);
    int insertListSimplify(@Param("list") List<TocTradeOrderHeader> list , @Param("taskYearMonth") LocalDateTime taskYearMonth);

    int copyDataToSimplify(@Param("taskYearMonth") LocalDateTime taskYearMonth);
}